package com.ktgj.flight.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 航信接口的航线对象 commdef
 * 
 * @author ruoyi
 * @date 2021-08-30
 */
public class Commdef extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 除外时间段 */
    @Excel(name = "除外时间段")
    private String exceptTimeSpan;

    /** 适用时间段 */
    @Excel(name = "适用时间段")
    private String fitTimeSpan;

    /** 适用第一时间段 */
    @Excel(name = "适用第一时间段")
    private Long firstTime;

    /** 适用第二时间段 */
    @Excel(name = "适用第二时间段")
    private Long secondTime;

    /** 适用第三时间段 */
    @Excel(name = "适用第三时间段")
    private Long thirdTime;

    /** 适用第四时间段 */
    @Excel(name = "适用第四时间段")
    private Long fourthTime;

    /** 适用第五时间段 */
    @Excel(name = "适用第五时间段")
    private Long fifthTime;

    /** 适用第六时间段 */
    @Excel(name = "适用第六时间段")
    private Long sixthTime;

    /** 适用第七时间段 */
    @Excel(name = "适用第七时间段")
    private Long seventhTime;

    /** 特价是否验证，0未验证，1验证 */
    @Excel(name = "特价是否验证，0未验证，1验证")
    private String isverify;

    /** 验证时间,验证只有当天有效 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "验证时间,验证只有当天有效", width = 30, dateFormat = "yyyy-MM-dd")
    private Date verifyTime;

    /** 代理佣金 */
    @Excel(name = "代理佣金")
    private BigDecimal commission;

    /** 上线时间 */
    @Excel(name = "上线时间")
    private String upTime;

    /** 订单来源 ESOrderSourceType */
    @Excel(name = "订单来源 ESOrderSourceType")
    private String orderSource;

    /** 仓位限制 多仓位以|分割 */
    @Excel(name = "仓位限制 多仓位以|分割")
    private String cabinLimit;

    /** 是否共享航班  1是 0不是 */
    @Excel(name = "是否共享航班  1是 0不是")
    private String isShareflight;

    /** 航线限制 以 | 和 ，分割 */
    @Excel(name = "航线限制 以 | 和 ，分割")
    private String routeLimit;

    /** 机票政策ID */
    private Long commdefId;

    /** 票证类型ID */
    @Excel(name = "票证类型ID")
    private Long voucherTypeId;

    /** 航空公司代码 */
    @Excel(name = "航空公司代码")
    private String airlinerId;

    /** 员工信息ID */
    @Excel(name = "员工信息ID")
    private Long employeeId;

    /** 合作商ID */
    @Excel(name = "合作商ID")
    private Long partnerId;

    /** 合作商等级ID */
    @Excel(name = "合作商等级ID")
    private Long agentClassId;

    /** 出发城市 */
    @Excel(name = "出发城市")
    private String departure;

    /** 目的城市 */
    @Excel(name = "目的城市")
    private String arrival;

    /** 航班 */
    @Excel(name = "航班")
    private String flight;

    /** 返点 */
    @Excel(name = "返点")
    private Long commisionRate;

    /** 舱位 */
    @Excel(name = "舱位")
    private String cabin;

    /** 票价 */
    @Excel(name = "票价")
    private BigDecimal price;

    /** 出票开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出票开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date isstixStartTime;

    /** 出票结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出票结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date isstixEndTime;

    /** 航程开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "航程开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date flightStartTime;

    /** 航程结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "航程结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date flightEndTime;

    /** 出票时间 */
    @Excel(name = "出票时间")
    private Long isstixTime;

    /** 代理费 */
    @Excel(name = "代理费")
    private BigDecimal partnerFee;

    /** 工本费 */
    @Excel(name = "工本费")
    private BigDecimal materialFee;

    /** 城市代码 */
    @Excel(name = "城市代码")
    private String cityCode;

    /** 说明 */
    @Excel(name = "说明")
    private String commdefDesc;

    /** 票规 */
    @Excel(name = "票规")
    private String ticketRule;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String isValid;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operationTime;

    /** 是否特价机票 */
    @Excel(name = "是否特价机票")
    private String isSpecialprice;

    /** 内部编号 */
    @Excel(name = "内部编号")
    private String innerNumber;

    /** 外部编号 */
    @Excel(name = "外部编号")
    private String outerNumber;

    /** 政策文件路径 */
    @Excel(name = "政策文件路径")
    private String policyFileUrl;

    /** Pat_Status */
    @Excel(name = "Pat_Status")
    private Long patStatus;

    /** Pat_Time */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "Pat_Time", width = 30, dateFormat = "yyyy-MM-dd")
    private Date patTime;

    /** Pat员工信息ID */
    @Excel(name = "Pat员工信息ID")
    private Long employeePat;

    /** Pat_Inviable_Time */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "Pat_Inviable_Time", width = 30, dateFormat = "yyyy-MM-dd")
    private Date patInviableTime;

    /** 周一 */
    @Excel(name = "周一")
    private Long mon;

    /** 周二 */
    @Excel(name = "周二")
    private Long tue;

    /** 周三 */
    @Excel(name = "周三")
    private Long wed;

    /** 周四 */
    @Excel(name = "周四")
    private Long thu;

    /** 周五 */
    @Excel(name = "周五")
    private Long fri;

    /** 周六 */
    @Excel(name = "周六")
    private Long sat;

    /** 周日 */
    @Excel(name = "周日")
    private Long sun;

    /** 折扣 */
    @Excel(name = "折扣")
    private Long discount;

    /** 公布最小时间 */
    @Excel(name = "公布最小时间")
    private Long issMinDay;

    /** 旅客类型(成人、儿童、婴儿) */
    @Excel(name = "旅客类型(成人、儿童、婴儿)")
    private Long guestType;

    /** 订单类型(散客=1，团队=2) */
    @Excel(name = "订单类型(散客=1，团队=2)")
    private String orderTypenew;

    public void setExceptTimeSpan(String exceptTimeSpan) 
    {
        this.exceptTimeSpan = exceptTimeSpan;
    }

    public String getExceptTimeSpan() 
    {
        return exceptTimeSpan;
    }
    public void setFitTimeSpan(String fitTimeSpan) 
    {
        this.fitTimeSpan = fitTimeSpan;
    }

    public String getFitTimeSpan() 
    {
        return fitTimeSpan;
    }
    public void setFirstTime(Long firstTime) 
    {
        this.firstTime = firstTime;
    }

    public Long getFirstTime() 
    {
        return firstTime;
    }
    public void setSecondTime(Long secondTime) 
    {
        this.secondTime = secondTime;
    }

    public Long getSecondTime() 
    {
        return secondTime;
    }
    public void setThirdTime(Long thirdTime) 
    {
        this.thirdTime = thirdTime;
    }

    public Long getThirdTime() 
    {
        return thirdTime;
    }
    public void setFourthTime(Long fourthTime) 
    {
        this.fourthTime = fourthTime;
    }

    public Long getFourthTime() 
    {
        return fourthTime;
    }
    public void setFifthTime(Long fifthTime) 
    {
        this.fifthTime = fifthTime;
    }

    public Long getFifthTime() 
    {
        return fifthTime;
    }
    public void setSixthTime(Long sixthTime) 
    {
        this.sixthTime = sixthTime;
    }

    public Long getSixthTime() 
    {
        return sixthTime;
    }
    public void setSeventhTime(Long seventhTime) 
    {
        this.seventhTime = seventhTime;
    }

    public Long getSeventhTime() 
    {
        return seventhTime;
    }
    public void setIsverify(String isverify) 
    {
        this.isverify = isverify;
    }

    public String getIsverify() 
    {
        return isverify;
    }
    public void setVerifyTime(Date verifyTime) 
    {
        this.verifyTime = verifyTime;
    }

    public Date getVerifyTime() 
    {
        return verifyTime;
    }
    public void setCommission(BigDecimal commission) 
    {
        this.commission = commission;
    }

    public BigDecimal getCommission() 
    {
        return commission;
    }
    public void setUpTime(String upTime) 
    {
        this.upTime = upTime;
    }

    public String getUpTime() 
    {
        return upTime;
    }
    public void setOrderSource(String orderSource) 
    {
        this.orderSource = orderSource;
    }

    public String getOrderSource() 
    {
        return orderSource;
    }
    public void setCabinLimit(String cabinLimit) 
    {
        this.cabinLimit = cabinLimit;
    }

    public String getCabinLimit() 
    {
        return cabinLimit;
    }
    public void setIsShareflight(String isShareflight) 
    {
        this.isShareflight = isShareflight;
    }

    public String getIsShareflight() 
    {
        return isShareflight;
    }
    public void setRouteLimit(String routeLimit) 
    {
        this.routeLimit = routeLimit;
    }

    public String getRouteLimit() 
    {
        return routeLimit;
    }
    public void setCommdefId(Long commdefId) 
    {
        this.commdefId = commdefId;
    }

    public Long getCommdefId() 
    {
        return commdefId;
    }
    public void setVoucherTypeId(Long voucherTypeId) 
    {
        this.voucherTypeId = voucherTypeId;
    }

    public Long getVoucherTypeId() 
    {
        return voucherTypeId;
    }
    public void setAirlinerId(String airlinerId) 
    {
        this.airlinerId = airlinerId;
    }

    public String getAirlinerId() 
    {
        return airlinerId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setPartnerId(Long partnerId) 
    {
        this.partnerId = partnerId;
    }

    public Long getPartnerId() 
    {
        return partnerId;
    }
    public void setAgentClassId(Long agentClassId) 
    {
        this.agentClassId = agentClassId;
    }

    public Long getAgentClassId() 
    {
        return agentClassId;
    }
    public void setDeparture(String departure) 
    {
        this.departure = departure;
    }

    public String getDeparture() 
    {
        return departure;
    }
    public void setArrival(String arrival) 
    {
        this.arrival = arrival;
    }

    public String getArrival() 
    {
        return arrival;
    }
    public void setFlight(String flight) 
    {
        this.flight = flight;
    }

    public String getFlight() 
    {
        return flight;
    }
    public void setCommisionRate(Long commisionRate) 
    {
        this.commisionRate = commisionRate;
    }

    public Long getCommisionRate() 
    {
        return commisionRate;
    }
    public void setCabin(String cabin) 
    {
        this.cabin = cabin;
    }

    public String getCabin() 
    {
        return cabin;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setIsstixStartTime(Date isstixStartTime) 
    {
        this.isstixStartTime = isstixStartTime;
    }

    public Date getIsstixStartTime() 
    {
        return isstixStartTime;
    }
    public void setIsstixEndTime(Date isstixEndTime) 
    {
        this.isstixEndTime = isstixEndTime;
    }

    public Date getIsstixEndTime() 
    {
        return isstixEndTime;
    }
    public void setFlightStartTime(Date flightStartTime) 
    {
        this.flightStartTime = flightStartTime;
    }

    public Date getFlightStartTime() 
    {
        return flightStartTime;
    }
    public void setFlightEndTime(Date flightEndTime) 
    {
        this.flightEndTime = flightEndTime;
    }

    public Date getFlightEndTime() 
    {
        return flightEndTime;
    }
    public void setIsstixTime(Long isstixTime) 
    {
        this.isstixTime = isstixTime;
    }

    public Long getIsstixTime() 
    {
        return isstixTime;
    }
    public void setPartnerFee(BigDecimal partnerFee) 
    {
        this.partnerFee = partnerFee;
    }

    public BigDecimal getPartnerFee() 
    {
        return partnerFee;
    }
    public void setMaterialFee(BigDecimal materialFee) 
    {
        this.materialFee = materialFee;
    }

    public BigDecimal getMaterialFee() 
    {
        return materialFee;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setCommdefDesc(String commdefDesc) 
    {
        this.commdefDesc = commdefDesc;
    }

    public String getCommdefDesc() 
    {
        return commdefDesc;
    }
    public void setTicketRule(String ticketRule) 
    {
        this.ticketRule = ticketRule;
    }

    public String getTicketRule() 
    {
        return ticketRule;
    }
    public void setIsValid(String isValid) 
    {
        this.isValid = isValid;
    }

    public String getIsValid() 
    {
        return isValid;
    }
    public void setOperationTime(Date operationTime) 
    {
        this.operationTime = operationTime;
    }

    public Date getOperationTime() 
    {
        return operationTime;
    }
    public void setIsSpecialprice(String isSpecialprice) 
    {
        this.isSpecialprice = isSpecialprice;
    }

    public String getIsSpecialprice() 
    {
        return isSpecialprice;
    }
    public void setInnerNumber(String innerNumber) 
    {
        this.innerNumber = innerNumber;
    }

    public String getInnerNumber() 
    {
        return innerNumber;
    }
    public void setOuterNumber(String outerNumber) 
    {
        this.outerNumber = outerNumber;
    }

    public String getOuterNumber() 
    {
        return outerNumber;
    }
    public void setPolicyFileUrl(String policyFileUrl) 
    {
        this.policyFileUrl = policyFileUrl;
    }

    public String getPolicyFileUrl() 
    {
        return policyFileUrl;
    }
    public void setPatStatus(Long patStatus) 
    {
        this.patStatus = patStatus;
    }

    public Long getPatStatus() 
    {
        return patStatus;
    }
    public void setPatTime(Date patTime) 
    {
        this.patTime = patTime;
    }

    public Date getPatTime() 
    {
        return patTime;
    }
    public void setEmployeePat(Long employeePat) 
    {
        this.employeePat = employeePat;
    }

    public Long getEmployeePat() 
    {
        return employeePat;
    }
    public void setPatInviableTime(Date patInviableTime) 
    {
        this.patInviableTime = patInviableTime;
    }

    public Date getPatInviableTime() 
    {
        return patInviableTime;
    }
    public void setMon(Long mon) 
    {
        this.mon = mon;
    }

    public Long getMon() 
    {
        return mon;
    }
    public void setTue(Long tue) 
    {
        this.tue = tue;
    }

    public Long getTue() 
    {
        return tue;
    }
    public void setWed(Long wed) 
    {
        this.wed = wed;
    }

    public Long getWed() 
    {
        return wed;
    }
    public void setThu(Long thu) 
    {
        this.thu = thu;
    }

    public Long getThu() 
    {
        return thu;
    }
    public void setFri(Long fri) 
    {
        this.fri = fri;
    }

    public Long getFri() 
    {
        return fri;
    }
    public void setSat(Long sat) 
    {
        this.sat = sat;
    }

    public Long getSat() 
    {
        return sat;
    }
    public void setSun(Long sun) 
    {
        this.sun = sun;
    }

    public Long getSun() 
    {
        return sun;
    }
    public void setDiscount(Long discount) 
    {
        this.discount = discount;
    }

    public Long getDiscount() 
    {
        return discount;
    }
    public void setIssMinDay(Long issMinDay) 
    {
        this.issMinDay = issMinDay;
    }

    public Long getIssMinDay() 
    {
        return issMinDay;
    }
    public void setGuestType(Long guestType) 
    {
        this.guestType = guestType;
    }

    public Long getGuestType() 
    {
        return guestType;
    }
    public void setOrderTypenew(String orderTypenew) 
    {
        this.orderTypenew = orderTypenew;
    }

    public String getOrderTypenew() 
    {
        return orderTypenew;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("exceptTimeSpan", getExceptTimeSpan())
            .append("fitTimeSpan", getFitTimeSpan())
            .append("firstTime", getFirstTime())
            .append("secondTime", getSecondTime())
            .append("thirdTime", getThirdTime())
            .append("fourthTime", getFourthTime())
            .append("fifthTime", getFifthTime())
            .append("sixthTime", getSixthTime())
            .append("seventhTime", getSeventhTime())
            .append("isverify", getIsverify())
            .append("verifyTime", getVerifyTime())
            .append("commission", getCommission())
            .append("upTime", getUpTime())
            .append("orderSource", getOrderSource())
            .append("cabinLimit", getCabinLimit())
            .append("isShareflight", getIsShareflight())
            .append("routeLimit", getRouteLimit())
            .append("commdefId", getCommdefId())
            .append("voucherTypeId", getVoucherTypeId())
            .append("airlinerId", getAirlinerId())
            .append("employeeId", getEmployeeId())
            .append("partnerId", getPartnerId())
            .append("agentClassId", getAgentClassId())
            .append("departure", getDeparture())
            .append("arrival", getArrival())
            .append("flight", getFlight())
            .append("commisionRate", getCommisionRate())
            .append("cabin", getCabin())
            .append("price", getPrice())
            .append("isstixStartTime", getIsstixStartTime())
            .append("isstixEndTime", getIsstixEndTime())
            .append("flightStartTime", getFlightStartTime())
            .append("flightEndTime", getFlightEndTime())
            .append("isstixTime", getIsstixTime())
            .append("partnerFee", getPartnerFee())
            .append("materialFee", getMaterialFee())
            .append("cityCode", getCityCode())
            .append("commdefDesc", getCommdefDesc())
            .append("ticketRule", getTicketRule())
            .append("isValid", getIsValid())
            .append("operationTime", getOperationTime())
            .append("isSpecialprice", getIsSpecialprice())
            .append("innerNumber", getInnerNumber())
            .append("outerNumber", getOuterNumber())
            .append("policyFileUrl", getPolicyFileUrl())
            .append("patStatus", getPatStatus())
            .append("patTime", getPatTime())
            .append("employeePat", getEmployeePat())
            .append("patInviableTime", getPatInviableTime())
            .append("mon", getMon())
            .append("tue", getTue())
            .append("wed", getWed())
            .append("thu", getThu())
            .append("fri", getFri())
            .append("sat", getSat())
            .append("sun", getSun())
            .append("discount", getDiscount())
            .append("issMinDay", getIssMinDay())
            .append("guestType", getGuestType())
            .append("orderTypenew", getOrderTypenew())
            .toString();
    }
}
